<foreach name='score' key='index' item='item'>
<div class="content">
    <div class="line">
        <span class="pic"><{$index + '1'}></span>
        <span class="nickname">
            <p class="p1"><{:idtoname('worker_id','worker','worker_name',$item['worker_id'])}></p>
        </span>
        <span class="nub"><{$item.sum}></span>
        <span class="pic"><{$item['dang']}></span>
        <span class="mui-icon mui-icon-arrowdown xIcon"></span>
    </div>
    <table style="width: 100%;" class="xtableList">
        <tr><td colspan="3" style="padding-left: 10%;font-weight: 600;">考核项目</td><td style="font-weight: 600;">分数</td></tr>
        <tr>
            <td class="front"  colspan="3">党建</td><td class="behind"><{$item.public}>分</td>
        </tr>
        <tr>
            <td class="front"  colspan="3">队伍建设</td><td class="behind"><{$item.part}>分</td>
        </tr>
        <tr>
            <td class="front"  colspan="3">宣传报道和舆情应对</td><td class="behind"><{$item.price}>分</td>
        </tr>
        <tr>
            <td class="front"  colspan="3">调研信息、典型案例</td><td class="behind"><{$item.check}>分</td>
        </tr>
        <tr>
            <td class="front"  colspan="3">工作业绩</td><td class="behind"><{$item.work}>分</td>
        </tr>
    </table>
</div>
</foreach>
<script type="text/javascript">
    $('.line').click(function(){
        $(this).siblings('table').toggle();
    });
</script>